<%@ page import="com.oa.web.action.Dept" %>
<%@ page import="com.oa.web.action.Dept" %>
<%@page contentType="text/html; charset=utf-8"%>

<%
    Dept dept = (Dept) request.getAttribute("userDept");
%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>修改部门</title>
    </head>
    <body>
        <h1>修改部门</h1>
        <hr>
        <!--修改完回到list.html页面-->
        <form action="<%=request.getContextPath()%>/dept/modify" method="post">
            <!--readonly 只读，不能作修改-->
            部门编号<input type="text" name="deptno" value="<%=dept.getDeptno()%>" readonly> </br>
            部门名称<input type="text" name="dname" value="<%=dept.getDname()%>"> </br>
            部门位置<input type="text" name="loc" value="<%=dept.getLoc()%>"> </br>
            <input type="submit" value="修改">
        </form>
    </body>
</html>